Port LOGGING - DLT-VERBOSE¶
Access to DLT verbose messages
Stimulation¶
此端口不具备激励能力。
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Active mode |
☑ |
bool |
Whether the port is also allowed to send network packets. If unset, the port can only passively receive packets. |
||
物理层 ❲网络访问❳ |
|||||
Network name |
string |
网络的名称。如果在 SIL Kit 配置中未定义 Switch 等对象,该名称必须与其他参与者的网络名称相同,才能接收这些参与者的报文。 |
|||
Controller name |
string |
将以太网控制器注册到 SIL Kit 时使用的任意名称。 |
|||
MAC 地址 ❲客户端❳ |
‘02:00:4C:4F:4F:50’ |
string |
字符串(格式:02:00:4C:4F:4F:50),如果要使用默认 MAC 地址,则为 ‘default’ |
||
Logger Protocol Settings |
Active mode is disabled |
||||
Logger protocol |
Active mode is disabled |
[, ASAM CMP, PLP/TECMP] |
string |
Use a logger protocol such as ASAM CMP. Ethernet frames contained in the logger messages are then extracted. |
|
Device and Stream IDs |
Active mode is disabled » Logger protocol: ‘ASAM CMP’ |
string |
Identifiers of the devices and streams as a list of tuples, each consisting of device ID and stream ID, e.g.: (1,2),(3,4). Leave empty if no filtering based on device and stream ID is needed. |
||
Interface IDs |
Active mode is disabled » Logger protocol: ‘ASAM CMP’ |
string |
Identifiers of the interfaces: empty if no filtering based on interface IDs is required; several can be separated by commas. |
||
Device IDs / Probe IDs |
Active mode is disabled » Logger protocol: ‘PLP/TECMP’ |
string |
Identifiers of the devices / probes: empty if no filtering based on device / probe IDs is required; several can be separated by commas. |
||
Interface IDs / Bus Spec IDs |
Active mode is disabled » Logger protocol: ‘PLP/TECMP’ |
string |
Identifiers of the interfaces / bus specs: empty if no filtering based on interface / bus spec IDs is required; several can be separated by commas. |
||
Outer VLAN mode |
Active mode is disabled |
disable |
[disable, single tagging, single tagging (any ID)] |
string |
If set to ‘single tagging’, take an additional IEEE 802.1Q tag outside the logger protocol into account and filter by the specified VLAN id; or if set to ‘single tagging (any ID)’, the tag itself must be present but the VLAN id is not relevant. |
Outer VLAN id |
Active mode is disabled » Outer VLAN mode: ‘single tagging’ |
0 |
int |
Filter incoming packets by this VLAN id, so only packets with a matching VLAN id will pass. |
|
VLAN Settings ❲IEEE 802.1Q❳ |
|||||
VLAN mode |
disable |
[disable, single tagging] |
string |
如果应使用数据库中的 VLAN ID,则设为 ‘auto’;如果不应使用 VLAN,则设为 ‘disable’;如果应指定固定的 VLAN ID,则设为 ‘single tagging’ |
|
VLAN id |
VLAN 模式:‘single tagging’ |
0 |
int |
如果传入的数据包带有 VLAN 标签,则会对其进行过滤,只有带有该 VLAN ID 的数据包才能通过。不带任何 VLAN 标签的传入数据包也会通过过滤器。 |
|
IP Settings |
Active mode is enabled |
||||
IP version |
Active mode is enabled |
IPv4 |
[IPv4, IPv6] |
string |
所用 IP 版本的选择 |
IP 地址 ❲客户端❳ |
Active mode is enabled |
string |
用作客户端的 IP 地址。它必须与被测设备的 IP 地址位于同一子网,且不得等于其他参与者的 IP 地址,也不得等于操作系统分配给所选网络接口的 IP 地址。 |
||
Subnet mask / prefix length |
Active mode is enabled |
‘default’ |
string |
对于 IPv4 地址,可以给出子网掩码或前缀长度(格式:‘255.255.255.0’ 或 ‘24’)。‘default’ 使用该 IP 地址(客户端)所属网络类的默认子网掩码。 对于 IPv6,只接受前缀长度,且不支持值 ‘default’。 |
|
网关地址 |
Active mode is enabled |
string |
网关的 IP 地址,通过该网关可以访问本地子网之外的主机。如果不需要网关,请留空 |
||
DLT Settings |
Active mode is enabled |
||||
DLT TCP auto reconnect timeout [sec] |
Active mode is enabled |
float |
ecu.test will automatically restart the DLT TCP connection if no new DLT messages arrive within the configured number of seconds. An empty value for the timeout switches the auto reconnect feature off. |
||
Pre-recording circular buffer |
Active mode is enabled |
0 |
int |
Since the recording gets started only a short time after the connection to the ecu is established, even with auto-start/stop, messages sent by the ECU only once immediately after the connection is made, can be lost. With this setting, the recording can be “extended forward” by the specified number of messages, in order to include these initial messages. |
Jobs 🛈¶
Reconnect¶
In Active Mode, reconnects and clears the message buffers.
Parameterization
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
False |
[False, True] |
bool |
Returns True if the connection was successfully established |